<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增huanlist')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-huanlist-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">横坐标：</label>
                <div class="col-sm-8">
                    <input name="city" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">城区面积：</label>
                <div class="col-sm-8">
                    <input name="citySize" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">城区总人口：</label>
                <div class="col-sm-8">
                    <input name="totalPopulation" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">建成区面积：</label>
                <div class="col-sm-8">
                    <input name="builtUpArea" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">轨道里程：</label>
                <div class="col-sm-8">
                    <input name="trackMileage" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">运营线数：</label>
                <div class="col-sm-8">
                    <input name="operationLines" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">站数：</label>
                <div class="col-sm-8">
                    <input name="numberOfStation" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">换乘站数：</label>
                <div class="col-sm-8">
                    <input name="numberOfTransfer" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">纵坐标：</label>
                <div class="col-sm-8">
                    <input name="passengerFlow2018" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">2018年日均客流：</label>
                <div class="col-sm-8">
                    <input name="dailyFlow2018" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">图示位置：</label>
                <div class="col-sm-8">
                    <input name="localid" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">图示类型：</label>
                <div class="col-sm-8">
                    <input name="typeid" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">算法总体数据：</label>
                <div class="col-sm-8">
                    <input name="diagid" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "demo/huanlist"
        $("#form-huanlist-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-huanlist-add').serialize());
            }
        }
    </script>
</body>
</html>